package com.koron.operation.dispatch.mapper;

import com.koron.operation.dispatch.bean.AffectedLineBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AffectedLineMapper {
    int deleteByPrimaryKey(String id);

    int insert(AffectedLineBean record);

    int insertSelective(AffectedLineBean record);

    AffectedLineBean selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(AffectedLineBean record);

    int updateByPrimaryKey(AffectedLineBean record);

    int updateBatch(List<AffectedLineBean> list);

    int updateBatchSelective(List<AffectedLineBean> list);

    int batchInsert(@Param("list") List<AffectedLineBean> list);

    int deleteByAccidentId(@Param("accidentId")String accidentId);

    //更具事故跳闸 查 影响线路
    List<AffectedLineBean> queryAllByAccidentId(@Param("accidentId")String accidentId);




}
